<template>
  <div class="admin-head">
    <div class="logo"><h1>后台管理系统</h1></div>
    <div class="nav">
        <div>基本信息</div>
        <div>商品</div>
        <div>营销</div>
        <div>订单</div>
        <div>售后</div>
    </div>
    <div class="action">
      <i class="el-icon-bell"></i>
      <i class="el-icon-s-shop"></i>
      <el-dropdown>
        <span class="el-dropdown-link">
          <el-avatar
            src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"
            size="small"
          ></el-avatar
          ><i class="el-icon-arrow-down el-icon--right"></i>
        </span>
        <el-dropdown-menu slot="dropdown">
          <el-dropdown-item icon="el-icon-plus">黄金糕</el-dropdown-item>
          <el-dropdown-item icon="el-icon-circle-plus">狮子头</el-dropdown-item>
          <el-dropdown-item icon="el-icon-circle-plus-outline"
            >螺蛳粉</el-dropdown-item
          >
          <el-dropdown-item icon="el-icon-check">双皮奶</el-dropdown-item>
          <el-dropdown-item icon="el-icon-circle-check"
            >蚵仔煎</el-dropdown-item
          >
        </el-dropdown-menu>
      </el-dropdown>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
};
</script>

<style lang="scss" scoped>
.admin-head {
  height: 100%;
  display: flex;
  align-items: center;
  .logo {
    padding: 20px;
  }
  .nav {
    flex: 1;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  .action {
      display: flex;
      align-items: center;
      i{
          font-size: 18px;
      }
      &>*{
          padding: 0 20px;
      }
  }
}
</style>
